<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h2>FabulousAirTickets.com</h2>
    <form action="#">
        <p>
            <label for="from">From:</label>
            <input type="text" id="from"> &nbsp;&nbsp;
            <label for="to">To:</label>
            <input type="text" id="to">
        </p>
        <p>
            <label for="leavedate">DepartureDate:</label>
            <input type="date" id="leavedate"> &nbsp;&nbsp;
            <label for="returndate">ReturnDate:</label>
            <input type="date" id="returndate">
        </p>
        <p>
            # of Adults:
            <select>
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    <option value="4">4</option>
    </select>
        </p>
        <p>
            <input type="submit" value="Find Flights!"> &nbsp;&nbsp;
            <input type="reset">
        </p>
    </form>
    <script>
        window.onbeforeunload = function() {
            return "If you close this window, your flight choices will be lost!";
        }
    </script>
</body>

</html>